// localStorage.grobalUrl="https://yhw666.mynatapp.cc";
localStorage.grobalUrl = 'https://zxgp.tihe-china.com/tihe';
var MXCookie = {
		set: function(name, value, expiresHours) {
		    var cookieString = name + '=' + escape(value);
		    console.log(cookieString);
		    if (expiresHours > 0) {
		      var date = new Date();
		      date.setTime(date.getTime + expiresHours * 1800 * 1000);
		      cookieString = cookieString + ';expires=' + date.toGMTString();
		    }
		    document.cookie = cookieString;
		},
		get: function(name) {
		    var strCookie = document.cookie;
		    var arrCookie = strCookie.split('=');
		    return arrCookie[1];
		    return '';
		},
		remove: function(name) {
		    var date = new Date();
		    date.setTime(date.getTime() - 10000);
		    document.cookie = name + '=v; expires=' + date.toGMTString();
		}
	}
